package com.banwoqiche.exceptions;

/**
 * @time: 2022-03-31 09:44
 */
public class MyBaseException extends RuntimeException {
    private int code;
    public int getCode() {
        return code;
    }
    public void setCode(int code) {
        this.code = code;
    }
    public MyBaseException(String message, int code) {
        super(message);
        this.code = code;
    }
}

